<template>
  <div class="scroll">
    <example-card title="富文本" url="https://github.com/surmon-china/vue-quill-editor">
      <editor v-model="text" :options="options" class="editor" />
      {{text}}
    </example-card>
  </div>
</template>

<script>
  export default {
    name: "index",
    data() {
      return {
        text: "121",
        options: {
          uploadConfig: {
            action: "https://www.abc.com"
          }
        }
      };
    }
  };
</script>

<style scoped>
  .editor {
    height: 300px;
  }
</style>
